package com.java.day12.homework.homework2;

import java.util.Scanner;

public class TextEditorDemo {
    public static void main(String[] args) {

        TextEditorService textEditorService = null;

        while (true){
            System.out.println("1.插入文本\t 2.查询所有\t 3.删除文本\t 4.修改文本\t 5.在指定行插入文本\t 6.退出");
            Scanner scanner = new Scanner(System.in);
            String s = scanner.next();
            switch (s){
                case "1"://插入文本


            }
        }

    }
}
